/***********************************************************************
 * POJO Class :  DocD.java
 * Author:  Bill Vison
 * Purpose: Defines the Class SysResource
 ***********************************************************************/

package edu.gtcfla.km.model;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import org.hibernate.annotations.GenericGenerator;

import edu.gtcfla.km.UserGroupPermission;

@javax.persistence.Entity
@javax.persistence.Table(name = "KM_USERGROUP_PERM")
public class UserGroupPermissionD implements UserGroupPermission, java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -1L;

	@Column(name ="PERM_ID")
	@GeneratedValue(generator = "paymentableGenerator")      
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid") 	
	@Id	
	private String id;	
	
	@Override
	public String getId() {
		// TODO Auto-generated method stub
		return id;
	}

	@Override
	public void setId(String id) {
		// TODO Auto-generated method stub
		this.id = id ;
	}

	@Column(name ="CATEGORY_ID")	
	private String categoryId;
	
	@Override
	public String getCategoryId() {
		// TODO Auto-generated method stub
		return categoryId;
	}

	@Override
	public void setCategoryId(String categoryId) {
		// TODO Auto-generated method stub
		this.categoryId = categoryId;
	}

	@Column(name ="USERGROUP_ID")	
	private String userGroupId;	
	
	@Override
	public String getUserGroupId() {
		// TODO Auto-generated method stub
		return userGroupId;
	}

	@Override
	public void setUserGroupId(String userGroupId) {
		// TODO Auto-generated method stub
		this.userGroupId= userGroupId;
	}

	@Column(name ="KM_ADDING")	
	private short kmAdding;	

	
	@Override
	public short getKmAdding() {
		// TODO Auto-generated method stub
		return kmAdding;
	}

	@Override
	public void setKmAdding(short newValue) {
		// TODO Auto-generated method stub
		this.kmAdding = newValue;		
	}

	@Column(name ="KM_EDITING")	
	private short kmEditing;		
	
	@Override
	public short getKmEditing() {
		// TODO Auto-generated method stub
		return kmEditing;
	}

	@Override
	public void setKmEditing(short newValue) {
		// TODO Auto-generated method stub
		this.kmEditing = newValue;
	}

	@Column(name ="KM_DELETING")	
	private short kmDeleting;		
	
	@Override
	public short getKmDeleting() {
		// TODO Auto-generated method stub
		return kmDeleting;
	}

	@Override
	public void setKmDeleting(short newValue) {
		// TODO Auto-generated method stub
		this.kmDeleting = newValue;
	}

	@Column(name ="KM_POST")	
	private short kmPost;		
	
	@Override
	public short getKmView() {
		// TODO Auto-generated method stub
		return kmPost;
	}

	@Override
	public void setKmView(short newValue) {
		// TODO Auto-generated method stub
		this.kmPost = newValue;
	}

	@Column(name ="CATE_ADDING")	
	private short cateAdding;		
	
	@Override
	public short getCateAdding() {
		// TODO Auto-generated method stub
		return cateAdding;
	}

	@Override
	public void setCateAdding(short newValue) {
		// TODO Auto-generated method stub
		this.cateAdding = newValue;
	}

	@Column(name ="CATE_EDITING")	
	private short cateEditing;		
	
	@Override
	public short getCateEditing() {
		// TODO Auto-generated method stub
		return cateEditing;
	}

	@Override
	public void setCateEditing(short newValue) {
		// TODO Auto-generated method stub
		this.cateEditing = newValue;
	}

	@Column(name ="CATE_DELETING")	
	private short cateDeleting;		
	
	@Override
	public short getCateDeleting() {
		// TODO Auto-generated method stub
		return cateDeleting;
	}

	@Override
	public void setCateDeleting(short newValue) {
		// TODO Auto-generated method stub
		this.cateDeleting = newValue;
	}

	@Column(name ="IS_ADMIN")	
	private short isAdmin;		
	
	
	@Override
	public short getIsAdmin() {
		// TODO Auto-generated method stub
		return isAdmin;
	}

	@Override
	public void setIsAdmin(short newValue) {
		// TODO Auto-generated method stub
		this.isAdmin = newValue;
	}

	@Column(name ="ONLYGROUP_CATE_VIEW")	
	private short onlyGroupCateView;		
		
	
	@Override
	public short getOnlyGroupCateView() {
		// TODO Auto-generated method stub
		return onlyGroupCateView;
	}

	@Override
	public void setOnlyGroupCateView(short newValue) {
		// TODO Auto-generated method stub
		onlyGroupCateView = newValue;
	}

	
		
	



	
	
	
}